<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.8"/>
<title>NGUI: Next-Gen UI kit: UIAtlasMaker Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
  $(window).load(resizeHeight);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">NGUI: Next-Gen UI kit
   &#160;<span id="projectnumber">3.7.2</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.8 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="namespaces.html"><span>Packages</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('class_u_i_atlas_maker.html','');});
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Namespaces</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&#160;</span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark">&#160;</span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(9)"><span class="SelectionMark">&#160;</span>Properties</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(10)"><span class="SelectionMark">&#160;</span>Macros</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#nested-classes">Classes</a> &#124;
<a href="#pub-static-methods">Static Public Member Functions</a> &#124;
<a href="#pub-static-attribs">Static Public Attributes</a> &#124;
<a href="class_u_i_atlas_maker-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">UIAtlasMaker Class Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>Atlas maker lets you create atlases from a bunch of small textures. It's an alternative to using the external Texture Packer.  
 <a href="class_u_i_atlas_maker.html#details">More...</a></p>
<div class="dynheader">
Inheritance diagram for UIAtlasMaker:</div>
<div class="dyncontent">
 <div class="center">
  <img src="class_u_i_atlas_maker.png" usemap="#UIAtlasMaker_map" alt=""/>
  <map id="UIAtlasMaker_map" name="UIAtlasMaker_map">
</map>
 </div></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
Classes</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_atlas_maker_1_1_sprite_entry.html">SpriteEntry</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-methods"></a>
Static Public Member Functions</h2></td></tr>
<tr class="memitem:a23c229b9b4d3ce851fd697cfd83c8f4a"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="class_u_i_sprite_data.html">UISpriteData</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_atlas_maker.html#a23c229b9b4d3ce851fd697cfd83c8f4a">AddSprite</a> (List&lt; <a class="el" href="class_u_i_sprite_data.html">UISpriteData</a> &gt; sprites, <a class="el" href="class_u_i_atlas_maker_1_1_sprite_entry.html">SpriteEntry</a> se)</td></tr>
<tr class="memdesc:a23c229b9b4d3ce851fd697cfd83c8f4a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Add a new sprite to the atlas, given the texture it's coming from and the packed rect within the atlas.  <a href="#a23c229b9b4d3ce851fd697cfd83c8f4a">More...</a><br /></td></tr>
<tr class="separator:a23c229b9b4d3ce851fd697cfd83c8f4a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6ec954383cd5bc1d32b03f04334ed93a"><td class="memItemLeft" align="right" valign="top">static List&lt; <a class="el" href="class_u_i_atlas_maker_1_1_sprite_entry.html">SpriteEntry</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_atlas_maker.html#a6ec954383cd5bc1d32b03f04334ed93a">CreateSprites</a> (List&lt; Texture &gt; textures)</td></tr>
<tr class="memdesc:a6ec954383cd5bc1d32b03f04334ed93a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Create a list of sprites using the specified list of textures.  <a href="#a6ec954383cd5bc1d32b03f04334ed93a">More...</a><br /></td></tr>
<tr class="separator:a6ec954383cd5bc1d32b03f04334ed93a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6d938ae2d64e1e3ceceb7eb496421380"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_atlas_maker.html#a6d938ae2d64e1e3ceceb7eb496421380">ReleaseSprites</a> (List&lt; <a class="el" href="class_u_i_atlas_maker_1_1_sprite_entry.html">SpriteEntry</a> &gt; sprites)</td></tr>
<tr class="memdesc:a6d938ae2d64e1e3ceceb7eb496421380"><td class="mdescLeft">&#160;</td><td class="mdescRight">Release all temporary textures created for the sprites.  <a href="#a6d938ae2d64e1e3ceceb7eb496421380">More...</a><br /></td></tr>
<tr class="separator:a6d938ae2d64e1e3ceceb7eb496421380"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad3d5b0367ee2110785bee7741fabc98d"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_atlas_maker.html#ad3d5b0367ee2110785bee7741fabc98d">ReplaceSprites</a> (<a class="el" href="class_u_i_atlas.html">UIAtlas</a> atlas, List&lt; <a class="el" href="class_u_i_atlas_maker_1_1_sprite_entry.html">SpriteEntry</a> &gt; sprites)</td></tr>
<tr class="memdesc:ad3d5b0367ee2110785bee7741fabc98d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Replace the sprites within the atlas.  <a href="#ad3d5b0367ee2110785bee7741fabc98d">More...</a><br /></td></tr>
<tr class="separator:ad3d5b0367ee2110785bee7741fabc98d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aee598d489ca99560cfe12cd0c426bf0c"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="class_u_i_atlas_maker_1_1_sprite_entry.html">SpriteEntry</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_atlas_maker.html#aee598d489ca99560cfe12cd0c426bf0c">DuplicateSprite</a> (<a class="el" href="class_u_i_atlas.html">UIAtlas</a> atlas, string spriteName)</td></tr>
<tr class="memdesc:aee598d489ca99560cfe12cd0c426bf0c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Duplicate the specified sprite.  <a href="#aee598d489ca99560cfe12cd0c426bf0c">More...</a><br /></td></tr>
<tr class="separator:aee598d489ca99560cfe12cd0c426bf0c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0ae842e1c0bb12e653c506c47c25a119"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="class_u_i_atlas_maker_1_1_sprite_entry.html">SpriteEntry</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_atlas_maker.html#a0ae842e1c0bb12e653c506c47c25a119">ExtractSprite</a> (<a class="el" href="class_u_i_atlas.html">UIAtlas</a> atlas, string spriteName)</td></tr>
<tr class="memdesc:a0ae842e1c0bb12e653c506c47c25a119"><td class="mdescLeft">&#160;</td><td class="mdescRight">Extract the specified sprite from the atlas.  <a href="#a0ae842e1c0bb12e653c506c47c25a119">More...</a><br /></td></tr>
<tr class="separator:a0ae842e1c0bb12e653c506c47c25a119"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae2e181d5b29896855497929d1acfa0f6"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_atlas_maker.html#ae2e181d5b29896855497929d1acfa0f6">ExtractSprites</a> (<a class="el" href="class_u_i_atlas.html">UIAtlas</a> atlas, List&lt; <a class="el" href="class_u_i_atlas_maker_1_1_sprite_entry.html">SpriteEntry</a> &gt; finalSprites)</td></tr>
<tr class="memdesc:ae2e181d5b29896855497929d1acfa0f6"><td class="mdescLeft">&#160;</td><td class="mdescRight">Extract sprites from the atlas, adding them to the list.  <a href="#ae2e181d5b29896855497929d1acfa0f6">More...</a><br /></td></tr>
<tr class="separator:ae2e181d5b29896855497929d1acfa0f6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a712f940ec1a7f6381547723b55b29c83"><td class="memItemLeft" align="right" valign="top">static bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_atlas_maker.html#a712f940ec1a7f6381547723b55b29c83">UpdateTexture</a> (<a class="el" href="class_u_i_atlas.html">UIAtlas</a> atlas, List&lt; <a class="el" href="class_u_i_atlas_maker_1_1_sprite_entry.html">SpriteEntry</a> &gt; sprites)</td></tr>
<tr class="memdesc:a712f940ec1a7f6381547723b55b29c83"><td class="mdescLeft">&#160;</td><td class="mdescRight">Combine all sprites into a single texture and save it to disk.  <a href="#a712f940ec1a7f6381547723b55b29c83">More...</a><br /></td></tr>
<tr class="separator:a712f940ec1a7f6381547723b55b29c83"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6d07406ec3b992638c896066bacd812a"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_atlas_maker.html#a6d07406ec3b992638c896066bacd812a">ShowProgress</a> (float val)</td></tr>
<tr class="memdesc:a6d07406ec3b992638c896066bacd812a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Show a progress bar.  <a href="#a6d07406ec3b992638c896066bacd812a">More...</a><br /></td></tr>
<tr class="separator:a6d07406ec3b992638c896066bacd812a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a463904e7917dd9f61cea998c26c87a18"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_atlas_maker.html#a463904e7917dd9f61cea998c26c87a18">AddOrUpdate</a> (<a class="el" href="class_u_i_atlas.html">UIAtlas</a> atlas, Texture2D tex)</td></tr>
<tr class="memdesc:a463904e7917dd9f61cea998c26c87a18"><td class="mdescLeft">&#160;</td><td class="mdescRight">Add the specified texture to the atlas, or update an existing one.  <a href="#a463904e7917dd9f61cea998c26c87a18">More...</a><br /></td></tr>
<tr class="separator:a463904e7917dd9f61cea998c26c87a18"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0477d11c78bcfb8cd4277e1347d0e725"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_atlas_maker.html#a0477d11c78bcfb8cd4277e1347d0e725">AddOrUpdate</a> (<a class="el" href="class_u_i_atlas.html">UIAtlas</a> atlas, <a class="el" href="class_u_i_atlas_maker_1_1_sprite_entry.html">SpriteEntry</a> se)</td></tr>
<tr class="memdesc:a0477d11c78bcfb8cd4277e1347d0e725"><td class="mdescLeft">&#160;</td><td class="mdescRight">Add the specified texture to the atlas, or update an existing one.  <a href="#a0477d11c78bcfb8cd4277e1347d0e725">More...</a><br /></td></tr>
<tr class="separator:a0477d11c78bcfb8cd4277e1347d0e725"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4be73c1c2e1776bdb38282e84a363a09"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_atlas_maker.html#a4be73c1c2e1776bdb38282e84a363a09">UpdateAtlas</a> (<a class="el" href="class_u_i_atlas.html">UIAtlas</a> atlas, List&lt; <a class="el" href="class_u_i_atlas_maker_1_1_sprite_entry.html">SpriteEntry</a> &gt; sprites)</td></tr>
<tr class="memdesc:a4be73c1c2e1776bdb38282e84a363a09"><td class="mdescLeft">&#160;</td><td class="mdescRight">Update the sprite atlas, keeping only the sprites that are on the specified list.  <a href="#a4be73c1c2e1776bdb38282e84a363a09">More...</a><br /></td></tr>
<tr class="separator:a4be73c1c2e1776bdb38282e84a363a09"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-attribs"></a>
Static Public Attributes</h2></td></tr>
<tr class="memitem:a002435b1316e7dc86ce8773f24832cb2"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="class_u_i_atlas_maker.html">UIAtlasMaker</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_atlas_maker.html#a002435b1316e7dc86ce8773f24832cb2">instance</a></td></tr>
<tr class="separator:a002435b1316e7dc86ce8773f24832cb2"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Atlas maker lets you create atlases from a bunch of small textures. It's an alternative to using the external Texture Packer. </p>
</div><h2 class="groupheader">Member Function Documentation</h2>
<a class="anchor" id="a463904e7917dd9f61cea998c26c87a18"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static void UIAtlasMaker.AddOrUpdate </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_u_i_atlas.html">UIAtlas</a>&#160;</td>
          <td class="paramname"><em>atlas</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Texture2D&#160;</td>
          <td class="paramname"><em>tex</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Add the specified texture to the atlas, or update an existing one. </p>

</div>
</div>
<a class="anchor" id="a0477d11c78bcfb8cd4277e1347d0e725"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static void UIAtlasMaker.AddOrUpdate </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_u_i_atlas.html">UIAtlas</a>&#160;</td>
          <td class="paramname"><em>atlas</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="class_u_i_atlas_maker_1_1_sprite_entry.html">SpriteEntry</a>&#160;</td>
          <td class="paramname"><em>se</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Add the specified texture to the atlas, or update an existing one. </p>

</div>
</div>
<a class="anchor" id="a23c229b9b4d3ce851fd697cfd83c8f4a"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="class_u_i_sprite_data.html">UISpriteData</a> UIAtlasMaker.AddSprite </td>
          <td>(</td>
          <td class="paramtype">List&lt; <a class="el" href="class_u_i_sprite_data.html">UISpriteData</a> &gt;&#160;</td>
          <td class="paramname"><em>sprites</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="class_u_i_atlas_maker_1_1_sprite_entry.html">SpriteEntry</a>&#160;</td>
          <td class="paramname"><em>se</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Add a new sprite to the atlas, given the texture it's coming from and the packed rect within the atlas. </p>

</div>
</div>
<a class="anchor" id="a6ec954383cd5bc1d32b03f04334ed93a"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static List&lt;<a class="el" href="class_u_i_atlas_maker_1_1_sprite_entry.html">SpriteEntry</a>&gt; UIAtlasMaker.CreateSprites </td>
          <td>(</td>
          <td class="paramtype">List&lt; Texture &gt;&#160;</td>
          <td class="paramname"><em>textures</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Create a list of sprites using the specified list of textures. </p>

</div>
</div>
<a class="anchor" id="aee598d489ca99560cfe12cd0c426bf0c"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="class_u_i_atlas_maker_1_1_sprite_entry.html">SpriteEntry</a> UIAtlasMaker.DuplicateSprite </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_u_i_atlas.html">UIAtlas</a>&#160;</td>
          <td class="paramname"><em>atlas</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">string&#160;</td>
          <td class="paramname"><em>spriteName</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Duplicate the specified sprite. </p>

</div>
</div>
<a class="anchor" id="a0ae842e1c0bb12e653c506c47c25a119"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="class_u_i_atlas_maker_1_1_sprite_entry.html">SpriteEntry</a> UIAtlasMaker.ExtractSprite </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_u_i_atlas.html">UIAtlas</a>&#160;</td>
          <td class="paramname"><em>atlas</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">string&#160;</td>
          <td class="paramname"><em>spriteName</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Extract the specified sprite from the atlas. </p>

</div>
</div>
<a class="anchor" id="ae2e181d5b29896855497929d1acfa0f6"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static void UIAtlasMaker.ExtractSprites </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_u_i_atlas.html">UIAtlas</a>&#160;</td>
          <td class="paramname"><em>atlas</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">List&lt; <a class="el" href="class_u_i_atlas_maker_1_1_sprite_entry.html">SpriteEntry</a> &gt;&#160;</td>
          <td class="paramname"><em>finalSprites</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Extract sprites from the atlas, adding them to the list. </p>

</div>
</div>
<a class="anchor" id="a6d938ae2d64e1e3ceceb7eb496421380"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static void UIAtlasMaker.ReleaseSprites </td>
          <td>(</td>
          <td class="paramtype">List&lt; <a class="el" href="class_u_i_atlas_maker_1_1_sprite_entry.html">SpriteEntry</a> &gt;&#160;</td>
          <td class="paramname"><em>sprites</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Release all temporary textures created for the sprites. </p>

</div>
</div>
<a class="anchor" id="ad3d5b0367ee2110785bee7741fabc98d"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static void UIAtlasMaker.ReplaceSprites </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_u_i_atlas.html">UIAtlas</a>&#160;</td>
          <td class="paramname"><em>atlas</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">List&lt; <a class="el" href="class_u_i_atlas_maker_1_1_sprite_entry.html">SpriteEntry</a> &gt;&#160;</td>
          <td class="paramname"><em>sprites</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Replace the sprites within the atlas. </p>

</div>
</div>
<a class="anchor" id="a6d07406ec3b992638c896066bacd812a"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static void UIAtlasMaker.ShowProgress </td>
          <td>(</td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>val</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Show a progress bar. </p>

</div>
</div>
<a class="anchor" id="a4be73c1c2e1776bdb38282e84a363a09"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static void UIAtlasMaker.UpdateAtlas </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_u_i_atlas.html">UIAtlas</a>&#160;</td>
          <td class="paramname"><em>atlas</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">List&lt; <a class="el" href="class_u_i_atlas_maker_1_1_sprite_entry.html">SpriteEntry</a> &gt;&#160;</td>
          <td class="paramname"><em>sprites</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Update the sprite atlas, keeping only the sprites that are on the specified list. </p>

</div>
</div>
<a class="anchor" id="a712f940ec1a7f6381547723b55b29c83"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static bool UIAtlasMaker.UpdateTexture </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_u_i_atlas.html">UIAtlas</a>&#160;</td>
          <td class="paramname"><em>atlas</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">List&lt; <a class="el" href="class_u_i_atlas_maker_1_1_sprite_entry.html">SpriteEntry</a> &gt;&#160;</td>
          <td class="paramname"><em>sprites</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Combine all sprites into a single texture and save it to disk. </p>

</div>
</div>
<h2 class="groupheader">Member Data Documentation</h2>
<a class="anchor" id="a002435b1316e7dc86ce8773f24832cb2"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_u_i_atlas_maker.html">UIAtlasMaker</a> UIAtlasMaker.instance</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>D:/Projects/NGUI/Assets/NGUI/Scripts/Editor/<a class="el" href="_u_i_atlas_maker_8cs.html">UIAtlasMaker.cs</a></li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="class_u_i_atlas_maker.html">UIAtlasMaker</a></li>
    <li class="footer">Generated on Sat Sep 13 2014 05:29:18 for NGUI: Next-Gen UI kit by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.8 </li>
  </ul>
</div>
</body>
</html>
